package com.onlyxiahui.extend.query.hibernate.syntax.util;

import java.util.List;

import com.onlyxiahui.extend.query.hibernate.syntax.annotation.BracketGroup;
import com.onlyxiahui.extend.query.hibernate.syntax.annotation.Condition;
import com.onlyxiahui.extend.query.hibernate.syntax.annotation.OrderBy;
import com.onlyxiahui.extend.query.hibernate.syntax.annotation.QueryIgnore;

/**
 * Description <br>
 * Date 2020-05-26 17:07:43<br>
 * 
 * @author XiaHui [onlovexiahui@qq.com]<br>
 * @since 1.0.0
 */
@BracketGroup(group = "2")
@OrderBy(value = { "number" }, sort = "desc")
public class AdminQuery extends UserQuery {

	@Condition(equation = "in", column = "roleId")
	private List<String> roleIds;

	@QueryIgnore
	private String ig;

	public List<String> getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(List<String> roleIds) {
		this.roleIds = roleIds;
	}

	public String getIg() {
		return ig;
	}

	public void setIg(String ig) {
		this.ig = ig;
	}
}
